import { reactive, ref } from "vue";

export default function InitHook() {
  const formDataRef = ref<any>(null);
  const loading = ref<boolean>(false);
  const formState = reactive<Partial<Base.GeneraDataType>>({
    objectType: 2,
    file: [],
    customerShow: 1
  });
  return {
    formState,
    loading,
    formDataRef
  };
}
